import request from '../utils/user'

export const userReg=(userInfo)=>{  //注册
    return request.post('/users',userInfo)
}
export const userLogin=(userInfo)=>{  //登录
    return request.get('/users',{
        params:userInfo
    })
}